package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Obu0019Mapper;
import com.ruoyi.system.domain.Obu0019;
import com.ruoyi.system.service.IObu0019Service;

/**
 * Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-01-03
 */
@Service
public class Obu0019ServiceImpl implements IObu0019Service 
{
    @Autowired
    private Obu0019Mapper obu0019Mapper;

    /**
     * 查询
     * 
     * @param id 主键
     * @return 
     */
    @Override
    public Obu0019 selectObu0019ById(Long id)
    {
        return obu0019Mapper.selectObu0019ById(id);
    }

    @Override
    public Obu0019 selectObu0019ByB4Id(Long id)
    {
        return obu0019Mapper.selectObu0019ByB4Id(id);
    }

    /**
     * 查询列表
     * 
     * @param obu0019 
     * @return 
     */
    @Override
    public List<Obu0019> selectObu0019List(Obu0019 obu0019)
    {
        return obu0019Mapper.selectObu0019List(obu0019);
    }

    /**
     * 新增
     * 
     * @param obu0019 
     * @return 结果
     */
    @Override
    public int insertObu0019(Obu0019 obu0019)
    {
        return obu0019Mapper.insertObu0019(obu0019);
    }

    /**
     * 修改
     * 
     * @param obu0019 
     * @return 结果
     */
    @Override
    public int updateObu0019(Obu0019 obu0019)
    {
        return obu0019Mapper.updateObu0019(obu0019);
    }

    /**
     * 批量删除
     * 
     * @param ids 需要删除的主键
     * @return 结果
     */
    @Override
    public int deleteObu0019ByIds(Long[] ids)
    {
        return obu0019Mapper.deleteObu0019ByIds(ids);
    }

    /**
     * 删除信息
     * 
     * @param id 主键
     * @return 结果
     */
    @Override
    public int deleteObu0019ById(Long id)
    {
        return obu0019Mapper.deleteObu0019ById(id);
    }
}
